package producer.feign.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import producer.feign.ProduceHelloService;

@Component
public class ProduceHelloServiceHystrixImpl implements ProduceHelloService {

    private Logger logger = LoggerFactory.getLogger(this.getClass());

    @Override
    public String hello(String name) {
        logger.error("调用{}异常:{}", "通过查询hello", name +"\t"+name );
        return null;
    }
}
